home *** CD-ROM | disk | FTP | other *** search
- *** FASTBAK.ARC ***** BATCH FILE FOR FASTBACK PROGRAM ******* v.2.0 *** 09/01/86
-
- ********************************************************************************
- FASTBACK (tm) is a registered trademark of Fifth Generation Systems, Inc.
- ********************************************************************************
-
- PURPOSE: To give users, a quick and easy way to use the FASTBACK (tm)
- v.5.03 backup program.
-
- To give new DOS users an example of a batch file using a few
- public domain tools which are very handy for use with batch files.
-
-
- FILES: The FASTBAK.ARC file contains the following files:
-
- * ASK .COM │ A Yes/No program which returns an errorlevel │ [PD]
- * FB .BAT │ The batch file listed below │
- FB .DOC │ The documentation file you are reading now │
- FBMENU │ A menu screen used via MENU.COM │
- * MENU .COM │ A program which writes fast screens │ [PD]
- MENU .DOC │ The documentation for above │
- * PAGE .COM │ A program to send a form feed to the printer │ [PD]
- * PRINTSCR.COM │ A program to print the current screen │ [PD]
- * QUERY .COM │ A program which returns an errorlevel │ [PD]
- QUERY .DOC │ The documentation for above │
- SPKR .SYS │ A program which allows control of speaker │ [PD]
- SPKR .DOC │ The documentation for above │
- * TT .EXE │ A program that gives the date, time, and more │ [PD]
-
- The files preceded by an asterisk (*) should be located in a
- subdirectory found on your system path. Ideally they should be
- on a RAM disk found on your system path in order to attain very
- fast execution.
-
- Note: [PD] means Public Domain
-
-
- FORMAT: FB
-
-
- REMARKS: For the FB.BAT batch file to work as listed below, ANSI.SYS and
- SPK.SYS must be installed through CONFIG.SYS with the commands:
-
- DEVICE=[d:][\path]ANSI.SYS
- DEVICE=[d:][\path]SPK.SYS
-
- in CONFIG.SYS and CONFIG.SYS must be located in the root directory
- of the hard disk (or boot diskette). If you do not want to install
- SPK.SYS, then you must remove lines 8 and 58 from the batch file
- (see listing below).
-
-
- SETUP: It is assumed that the following subdirectories exists on your
- hard disk:
-
- C:\FASTBACK which must contain the FASTBACK (tm) program files
- C:\MENUS which must contain the file FBMENU
-
- If these files are in different subdirectories, you must change
- lines 3, 5, 47 and 57 of the batch file.
-
-
- COLORS: This batch file is for use with color monitors. It can easily
- be modified for use with monochrone monitors by changing the
- color attributes.
-
-
- SPEED: The batch file FB.BAT contains several comments in the form of
- labels (all lines beginning with :====) to show the user what
- is where. These lines (and only these lines) may be removed
- entirely to gain speed in the execution of the bacth file
- (lines 22, 29, 41, 45, 53, 64 and 67).
-
- **************************** Listing of FB.BAT *********************************
- Note: This listing is to show the line numbers and cannot be used as is.
- Use the file FB.BAT if you want to make modifications.
- ********************************************************************************
- 1│ECHO OFF
- 2│CLS
- 3│C:|CD\FASTBACK
- 4│:TOP
- 5│MENU C C:\MENUS\FBMENU
- 6│ECHO H
- 7│TT
- 8│ECHO 500,1>SPK:
- 9│QUERY "DdFfHhqQRr" "33HYour selection "
- 10│CLS
- 11│if errorlevel 114 goto r
- 12│if errorlevel 113 goto q
- 13│if errorlevel 104 goto h
- 14│if errorlevel 102 goto f
- 15│if errorlevel 100 goto d
- 16│if errorlevel 82 goto R
- 17│if errorlevel 81 goto Q
- 18│if errorlevel 72 goto H
- 19│if errorlevel 70 goto F
- 20│if errorlevel 68 goto D
- 21│:F
- 22│:====backup subdirectories or files only
- 23│ECHO HYou have elected to do a PARTIAL backup of a hard disk
- 24│ECHO HDo you have enough diskettes?
- 25│ECHO HAnswer following questions very carefully... H
- 26│FASTBACK C:
- 27│GOTO X1
- 28│:H
- 29│:====backup entire hard disk C:
- 30│ECHO HYou have elected to do a FULL backup of a hard disk
- 31│ECHO HDo you have enough diskettes?
- 32│ECHO 5HYour selections:
- 33│ECHO 5H backup hard disk C
- 34│ECHO 5H begin at Root directory
- 35│ECHO 55H backup All subdirs
- 36│ECHO 55H backup All files
- 37│ECHO 53HEnter Y to skip H
- 38│FASTBACK C: \ Y *.*
- 39│GOTO X1
- 40│:R
- 41│:====restore to hard disk C:
- 42│FRESTORE
- 43│GOTO X1
- 44│:D
- 45│:====list Fastback subdirectory
- 46│ECHO A
- 47│DIR C:\FASTBACK
- 48│ECHO 58HPress to continue1H
- 49│bat READ 80H
- 50│CLS
- 51│GOTO TOP
- 52│:X1
- 53│:====exit after executing a backup or a restore
- 54│ECHO A
- 55│TT
- 56│ECHO A
- 57│DIR C:\FASTBACK\FASTBACK.*
- 58│ECHO 1000,3;800,2>SPK:
- 59│ECHO A
- 60│ASK 1H Do you want a hard copy? (Printer must be on)
- 61│IF NOT ERRORLEVEL 1 GOTO PRINT
- 62│GOTO X
- 63│:PRINT
- 64│:====print the screen for a hard copy of what was done (keep with diskettes)
- 65│PRINTSCR |PAGE
- 66│:X
- 67│:====exit without executing a backup or a restore
- 68│ECHO 1H
- ********************************** - END - *************************************
-
- The author wants to thank the known creators of the Public Domain programs
- included in this ARC file: David Gwillin (MENU.COM), Tornsten Hoff (QUERY.COM)
- and Christopher J. Dunford (SPK.SYS).
-
- If you have a good tip, please share it. Thank you.
-
- AUTHOR: Francois R. Brenot * 09/01/86
- c/o International TeleSystems, Inc.
- 415 Norht Crescent Drive, Suite 120
- Beverly Hills, CA 90210
- (213) 274-7411 (voice)
- MCI Mail ID: 268-5665
-
- You may also leave me a message on:
-
- The Crest RBBS of Brentwood, CA
- Sysop: Eric Newhouse
- (213) 471-2518
- 1200/2400bauds 8-N-1 * 24 hours/7 days
- ********************************************************************************